<table style="width:100%;" cellspacing="0">
    <tr>
        <td>

<table cellspacing="0" width="100%" class="forumline">
                <tr>
                	<td class="row-header" colspan="2">
                	   <span>
                	       {language text="viewing_site_session"}
            	       </span>
        	       </td>
                </tr>
<tr>
	<td class="row1">
        
        {str_replace text="`viewing_apaging_fromrow_apaging_tor`" aPaging_fromRow="`$aPaging.fromRow`" aPaging_toRow="`$aPaging.toRow`" aPaging_totalRows="`$aPaging.totalRows`" }
        <br /><br />
        {include file="`$sRootPath`/_blocks/pager.html"}
        

        <div style="padding:20px;">
        {language text="below_is_a_list_of_the_site_session"}
        <br /> <br />

        <form method="post" action="{$sUrl}" style="margin:0px;">
            <input type="hidden" name="act" vale="log_set_user">
            {language text="get_user_session"}:
    		<input type="text" name="user" value="{$sUser}" onfocus="this.value='';" size="20" />
    		<input type="submit" name="act[log_set_user]" value=" Submit " />
		</form>
        
        <div style="padding: 5px; text-align: right;">
        <form method="post" action="{$sUrl}">
            <input value=" {language text="clean_database_session"} " name="act[log_clean_site_session]" type="submit" onclick="return sure();">
        </form>
        </div>        
        
        </div>
        {foreach from=$aItems item=aItem}
        <div class="border13">
            <div style="padding:6px;">
                <b>{language text="id_368"}: {$aItem.id}</b>
                <div style="padding:6px;">
                
                <b>{language text="user"}:</b> <a href="{url link='public.user' name=$aItem.user}" target="_blank">{$aItem.user}</a>
                <br />
                <b>{language text="viewing"}:</b> {$aItem.page}<br />
                <b>{language text="time"}:</b> {$aItem.time|date_format:$sDateTimeFormat}<br />
                
                <b>{language text="ip_294"}:</b> {$aItem.ip}<br />
                <b>{language text="host"}:</b> {$aItem.host}<br />
                
                </div>
            </div>
        </div>
        <br />        
		{/foreach}

        {include file="`$sRootPath`/_blocks/pager.html"}

        <br />
        <br />


        </td>
    </tr>
</table>

        </td>
    </tr>
</table>